<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒子模型-内边距</title>
    <style>
        div{
            width: 500px;
            height: 300px;
            background: yellow;
            text-align: justify;
            /* padding: 30px; */
            /** 上下20 左右30 **/
            /* padding: 20px 30px;   */
            /* 上  左右  下 */
            /* padding: 10px 20px 30px; */
            /* 上 右 下 左 */
            padding: 10px 20px 30px 40px;
        }
    </style>
</head>
<body>
    <div>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Rerum, aspernatur distinctio itaque mollitia delectus repellat enim corrupti architecto pariatur eos nihil omnis officiis atque quae ex nobis eligendi numquam facere!</div>
</body>
</html>